<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>

  </body>
<script type="text/javascript">
  var url = "";
  if (window.XMLHttpRequest) {
      var request = new XMLHttpRequest();
  } else {
      var request = new ActiveXObject("Microsoft.XMLHTTP");
  }
  request.open("GET","http://1.xiaojidunmogu.applinzi.com/test22.php",true);
  request.send(null);
  request.onreadystatechange = function() {
      if (request.readyState == 4 && request.status == 200) {
        var obj = JSON.parse(request.responseText);
        console.log(obj);
      };
  }

</script>

</html>
